#ifndef WORLDMANAGER_H
#define WORLDMANAGER_H

#include <string>
#include <vector>
#include "World.h"

namespace me
{

    class WorldManager
    {
        public:
            WorldManager();
            virtual ~WorldManager();

            bool addWorld(me::World* world);
            bool removeWorld(std::string name);
            bool setCurrentWorld(std::string name);

            me::World* getWorld(std::string name);
            me::World* getCurrentWorld();
        protected:
        private:
            std::vector<me::World*> m_worlds;
            me::World* m_currentWorld;
    };

}

#endif // WORLDMANAGER_H
